package com.authorization.demo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Remarks:
 * @ClassName: RoleTable
 * @Author: Micora
 * @CreateTime: 2022/7/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ROLETABLE")
public class RoleTable {
    @TableId(value = "role_name")
    private String roleName;
    private String roleCode;
    private int  status;
    private String remarks;

    @TableField(fill = FieldFill.INSERT)
    private Date effectiveDate;
    private Date uneffectiveDate;
}
